<!DOCTYPE html>
<html lang="en" xmlns:el-dialog="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>Element UI入门案例</title>
    <link rel="stylesheet" href="../element/index.css">
    <script src="../js/vue.js"></script>
    <script src="../element/index.js"></script>
</head>
<body>
<div id="app">
    <el-button @click="aa=true">Button</el-button>
    <el-dialog :visible.aync="aa" title="Hello world">
        <p>Try element</p>
    </el-dialog>
</div>
</body>
<script>
    new Vue({
        el: "#app",
        data: function () {
            return {aa: false}
        }
    })
</script>
</html>